package org.xhy.controller;



import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;



@RestController
@RequestMapping("")
public class UserInfoController {


    @Autowired
    UserInfoMapper userInfoMapper;

    @GetMapping("")
    public Object selectUserList(String userName) {
        userInfoMapper.selectList(null);
//        userInfoMapper.insert(new UserInfoDO("xhy"));
        return "ok";
    }
}
